import { createStore } from 'vuex'

export default createStore({
  state: {
    user: {
      userid: null,
      password: null,
      username: null,
      phoneNumber: null,
      emali: null,
    }
  },
  mutations: {
    saveUser(state,payload){
      state.user = payload;
      // console.log(state.user);
    },
  },
  actions: {
  },
  modules: {
  }
})
